package com.bootdo.finance.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.finance.dao.TransferaccountsDao;
import com.bootdo.finance.domain.TransferaccountsDO;
import com.bootdo.finance.service.TransferaccountsService;



@Service
public class TransferaccountsServiceImpl implements TransferaccountsService {
	@Autowired
	private TransferaccountsDao transferaccountsDao;
	
	@Override
	public TransferaccountsDO get(Integer id){
		return transferaccountsDao.get(id);
	}
	
	@Override
	public List<TransferaccountsDO> list(Map<String, Object> map){
		return transferaccountsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return transferaccountsDao.count(map);
	}
	
	@Override
	public int save(TransferaccountsDO transferaccounts){
		return transferaccountsDao.save(transferaccounts);
	}
	
	@Override
	public int update(TransferaccountsDO transferaccounts){
		return transferaccountsDao.update(transferaccounts);
	}
	
	@Override
	public int remove(Integer id){
		return transferaccountsDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return transferaccountsDao.batchRemove(ids);
	}
	
}
